package net.borlis.sample.services.facade.ws.response;

import net.borlis.sample.services.facade.ws.request.BookingConfigUpdateRequest;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author alex@borlis.net on 18.09.2014.
 */
@XmlRootElement
public class BookingConfigResponse extends BookingConfigUpdateRequest {

    private Long id;
    private String hotelProviderName;
    private String flightProviderName;
    private String strategyName;

    public BookingConfigResponse() {
    }

    public BookingConfigResponse(Long id, String hotelProviderCode, String hotelProviderName, String flightProviderCode,
                                 String flightProviderName, String strategyCode, String strategyName) {
        super(hotelProviderCode, flightProviderCode, strategyCode);
        this.id = id;
        this.hotelProviderName = hotelProviderName;
        this.flightProviderName = flightProviderName;
        this.strategyName = strategyName;
    }

    @XmlElement
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @XmlElement
    public String getHotelProviderName() {
        return hotelProviderName;
    }

    public void setHotelProviderName(String hotelProviderName) {
        this.hotelProviderName = hotelProviderName;
    }

    @XmlElement
    public String getFlightProviderName() {
        return flightProviderName;
    }

    public void setFlightProviderName(String flightProviderName) {
        this.flightProviderName = flightProviderName;
    }

    @XmlElement
    public String getStrategyName() {
        return strategyName;
    }

    public void setStrategyName(String strategyName) {
        this.strategyName = strategyName;
    }
}
